<% base_language_only do -%>
<h1 class="language">Please choose language for translation</h1>
<% end -%>

<% not_base_language do -%>

<p>Use this sparingly: <%= link_to "Get strings to translate", :action => "get_translatable_strings" %></p>

<% if Locale.language -%>
	<h1 class="language"><%= "Language: " + Locale.language.native_name %></h1>
<% end -%>

<dl id="translation_form">
	<dt class="header"><%= 'Base Language'.t -%></dt>
		<dd class="header"><%= 'Translation'.t %></dd>
	<% @view_translations.each do |tr| -%>
	  <%= render :partial => 'translation_form', :locals => {:tr => tr}%>
	<% end -%>
</dl>

<% end  -%>


